﻿using Standard;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YSL.Application.Ysl_Dto.Input.LockOrUnlock;
using YSL_Domain.Model;

namespace YSL.Application.Services.LockOrUnLock
{
    public interface IProductLockService
    {

        /// <summary>
        /// 锁定产品
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiResult<int> AddProductLock(AddProductLockInput input);
        /// <summary>
        /// 查询工单产品
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiResult<YSL_WORKORDER> GetWorkOrderEntity(AddProductLockInput input);
        
        /// <summary>
        /// 查询锁定产品列表
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiPaging<YSL_PRODUCT_LOCK> GetProductLockList(GetProductLockListInput input);
        /// <summary>
        /// 解锁产品
        /// </summary>
        /// <returns></returns>
        ApiResult<int> UnProductLock(UnProductLockInput input );
        /// <summary>
        /// 修改锁定产品
        /// </summary>
        ApiResult<int> UpdateProductLock(UpdateProductLockInput input);
    }
}
